<%for(var i=0;i < data.length;i++){%>
<div class="swiper-slide">
    <a href="<%=data[i].imgUrl?data[i].imgUrl:'javascript:;'%>">
        <img src="<%=data[i].imgPath%>" alt="<%=data[i].title%>">
    </a>
</div>
<%}%>